import scrapy
from scrapy_redis.spiders import RedisSpider


class CustomeSpider(RedisSpider):
    name = "custome"
    redis_key = 'produce'

    def parse(self, response):
        print(f"爬取到章节...............", response)
        print("\n".join(response.xpath('//div[@class="content"]/p/text()').getall()))
